//
//  UIImage+SPExtension.h
//  Sport
//
//  Created by Cass on 2017/11/22.
//  Copyright © 2017年 Cass. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (SPExtension)

- (UIImage *)imageByApplyingAlpha:(CGFloat)alpha;
+ (UIImage *)createImageWithColocr:(UIColor *)color fram:(CGRect)rect;
+ (UIImage *)getGradientImageWithSize:(CGSize)size locations:(const CGFloat[])locations components:(const CGFloat[])components count:(NSInteger)count;
- (UIImage *)originalImage;
- (instancetype)scaleImageWithSize:(CGSize)size;
@end
